package com.qf.service.impl;

import com.qf.dao.PaymentDao;
import com.qf.common.Payment;
import com.qf.service.PaymentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PaymentServiceImpl implements PaymentService {

    @Autowired
    PaymentDao paymentDao;

    @Override
    public Payment findById(Integer id) {
        return paymentDao.findById(id);
    }
}
